package com.ricchieri.service.interf;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.ricchieri.filter.TripFilter;
import com.ricchieri.model.Trip;

public interface ITripService {
	@Transactional(readOnly = true)
	public List<Trip> getAllTrip();

	public Map<String, String> getComboTrips();

	public Trip getTripById(TripFilter tripFilter);

	public List<Trip> getAllTripPaginatedByFilter(TripFilter tripFilter,
			int startRecord);

	public int getAllTripCountByFilter(TripFilter tripFilter);
}
